package com.aaa.service.impl;

import com.aaa.dao.ApplyMapper;
import com.aaa.entity.Apply;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ApplyServiceimpl implements ApplyMapper {
    @Resource
    ApplyMapper applyDao;

    @Override
    public List<Apply> findpage(Integer pageSize, Integer pageNum) {
        return applyDao.findpage(pageSize, pageNum);
    }

    @Override
    public Integer findcount() {
        return applyDao.findcount();
    }

    @Override
    public Integer add(Apply apply) {
        return applyDao.add(apply);
    }
}
